'''
 * @ author     ：廖传港
 * @ date       ：Created in 2020/11/5 20:53
 * @ description：
 * @ modified By：
 * @ ersion     : 
 * @File        : test.py 
'''

import numpy as np
n = 20
# 产生标准正态分布的随机数或矩阵的函数
X = np.random.randn(10, n, n, 3)
print("X:",X)
print("X.shape:",X.shape)
# 生成一个m×n×p×...的double类零矩阵
Y = np.zeros((10,))
for i in range(Y.shape[0]):
    Y[i] = i / 10
print("Y:",Y)
print("Y:", Y.shape)